﻿using Idlesoft.Utils;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;

namespace UtilsTests
{
	
	
	/// <summary>
	///This is a test class for ProfileStopwatch_ProfileSegmentTest and is intended
	///to contain all ProfileStopwatch_ProfileSegmentTest Unit Tests
	///</summary>
	[TestClass()]
	public class ProfileStopwatch_ProfileSegmentTest
	{


		private TestContext testContextInstance;

		/// <summary>
		///Gets or sets the test context which provides
		///information about and functionality for the current test run.
		///</summary>
		public TestContext TestContext
		{
			get
			{
				return testContextInstance;
			}
			set
			{
				testContextInstance = value;
			}
		}

		#region Additional test attributes
		// 
		//You can use the following additional attributes as you write your tests:
		//
		//Use ClassInitialize to run code before running the first test in the class
		//[ClassInitialize()]
		//public static void MyClassInitialize(TestContext testContext)
		//{
		//}
		//
		//Use ClassCleanup to run code after all tests in a class have run
		//[ClassCleanup()]
		//public static void MyClassCleanup()
		//{
		//}
		//
		//Use TestInitialize to run code before running each test
		//[TestInitialize()]
		//public void MyTestInitialize()
		//{
		//}
		//
		//Use TestCleanup to run code after each test has run
		//[TestCleanup()]
		//public void MyTestCleanup()
		//{
		//}
		//
		#endregion


		/// <summary>
		///A test for ProfileSegment Constructor
		///</summary>
		[TestMethod()]
		public void ProfileStopwatch_ProfileSegmentConstructorTest()
		{
			object inName = null; // TODO: Initialize to an appropriate value
			ProfileStopwatch.ProfileSegment target = new ProfileStopwatch.ProfileSegment(inName);
			Assert.Inconclusive("TODO: Implement code to verify target");
		}

		/// <summary>
		///A test for AddTicks
		///</summary>
		[TestMethod()]
		[DeploymentItem("Utils.dll")]
		public void AddTicksTest()
		{
			PrivateObject param0 = null; // TODO: Initialize to an appropriate value
			ProfileStopwatch_Accessor.ProfileSegment target = new ProfileStopwatch_Accessor.ProfileSegment(param0); // TODO: Initialize to an appropriate value
			target.AddTicks();
			Assert.Inconclusive("A method that does not return a value cannot be verified.");
		}

		/// <summary>
		///A test for Start
		///</summary>
		[TestMethod()]
		public void StartTest()
		{
			object inName = null; // TODO: Initialize to an appropriate value
			ProfileStopwatch.ProfileSegment target = new ProfileStopwatch.ProfileSegment(inName); // TODO: Initialize to an appropriate value
			target.Start();
			Assert.Inconclusive("A method that does not return a value cannot be verified.");
		}

		/// <summary>
		///A test for Stop
		///</summary>
		[TestMethod()]
		public void StopTest()
		{
			object inName = null; // TODO: Initialize to an appropriate value
			ProfileStopwatch.ProfileSegment target = new ProfileStopwatch.ProfileSegment(inName); // TODO: Initialize to an appropriate value
			target.Stop();
			Assert.Inconclusive("A method that does not return a value cannot be verified.");
		}

		/// <summary>
		///A test for ToString
		///</summary>
		[TestMethod()]
		public void ToStringTest()
		{
			object inName = null; // TODO: Initialize to an appropriate value
			ProfileStopwatch.ProfileSegment target = new ProfileStopwatch.ProfileSegment(inName); // TODO: Initialize to an appropriate value
			string expected = string.Empty; // TODO: Initialize to an appropriate value
			string actual;
			actual = target.ToString();
			Assert.AreEqual(expected, actual);
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for AvgTicksOff
		///</summary>
		[TestMethod()]
		public void AvgTicksOffTest()
		{
			object inName = null; // TODO: Initialize to an appropriate value
			ProfileStopwatch.ProfileSegment target = new ProfileStopwatch.ProfileSegment(inName); // TODO: Initialize to an appropriate value
			long actual;
			actual = target.AvgTicksOff;
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for AvgTicksOn
		///</summary>
		[TestMethod()]
		public void AvgTicksOnTest()
		{
			object inName = null; // TODO: Initialize to an appropriate value
			ProfileStopwatch.ProfileSegment target = new ProfileStopwatch.ProfileSegment(inName); // TODO: Initialize to an appropriate value
			long actual;
			actual = target.AvgTicksOn;
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for AvgTimeSpanOff
		///</summary>
		[TestMethod()]
		public void AvgTimeSpanOffTest()
		{
			object inName = null; // TODO: Initialize to an appropriate value
			ProfileStopwatch.ProfileSegment target = new ProfileStopwatch.ProfileSegment(inName); // TODO: Initialize to an appropriate value
			TimeSpan actual;
			actual = target.AvgTimeSpanOff;
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for AvgTimeSpanOn
		///</summary>
		[TestMethod()]
		public void AvgTimeSpanOnTest()
		{
			object inName = null; // TODO: Initialize to an appropriate value
			ProfileStopwatch.ProfileSegment target = new ProfileStopwatch.ProfileSegment(inName); // TODO: Initialize to an appropriate value
			TimeSpan actual;
			actual = target.AvgTimeSpanOn;
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for IsValidInterval
		///</summary>
		[TestMethod()]
		public void IsValidIntervalTest()
		{
			object inName = null; // TODO: Initialize to an appropriate value
			ProfileStopwatch.ProfileSegment target = new ProfileStopwatch.ProfileSegment(inName); // TODO: Initialize to an appropriate value
			bool actual;
			actual = target.IsValidInterval;
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for Iterations
		///</summary>
		[TestMethod()]
		public void IterationsTest()
		{
			object inName = null; // TODO: Initialize to an appropriate value
			ProfileStopwatch.ProfileSegment target = new ProfileStopwatch.ProfileSegment(inName); // TODO: Initialize to an appropriate value
			long expected = 0; // TODO: Initialize to an appropriate value
			long actual;
			target.Iterations = expected;
			actual = target.Iterations;
			Assert.AreEqual(expected, actual);
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for LastIntervalTicks
		///</summary>
		[TestMethod()]
		public void LastIntervalTicksTest()
		{
			object inName = null; // TODO: Initialize to an appropriate value
			ProfileStopwatch.ProfileSegment target = new ProfileStopwatch.ProfileSegment(inName); // TODO: Initialize to an appropriate value
			long actual;
			actual = target.LastIntervalTicks;
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for LastIntervalTimeSpan
		///</summary>
		[TestMethod()]
		public void LastIntervalTimeSpanTest()
		{
			object inName = null; // TODO: Initialize to an appropriate value
			ProfileStopwatch.ProfileSegment target = new ProfileStopwatch.ProfileSegment(inName); // TODO: Initialize to an appropriate value
			TimeSpan actual;
			actual = target.LastIntervalTimeSpan;
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for LastStart
		///</summary>
		[TestMethod()]
		public void LastStartTest()
		{
			object inName = null; // TODO: Initialize to an appropriate value
			ProfileStopwatch.ProfileSegment target = new ProfileStopwatch.ProfileSegment(inName); // TODO: Initialize to an appropriate value
			long expected = 0; // TODO: Initialize to an appropriate value
			long actual;
			target.LastStart = expected;
			actual = target.LastStart;
			Assert.AreEqual(expected, actual);
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for LastStop
		///</summary>
		[TestMethod()]
		public void LastStopTest()
		{
			object inName = null; // TODO: Initialize to an appropriate value
			ProfileStopwatch.ProfileSegment target = new ProfileStopwatch.ProfileSegment(inName); // TODO: Initialize to an appropriate value
			long expected = 0; // TODO: Initialize to an appropriate value
			long actual;
			target.LastStop = expected;
			actual = target.LastStop;
			Assert.AreEqual(expected, actual);
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for Name
		///</summary>
		[TestMethod()]
		public void NameTest()
		{
			object inName = null; // TODO: Initialize to an appropriate value
			ProfileStopwatch.ProfileSegment target = new ProfileStopwatch.ProfileSegment(inName); // TODO: Initialize to an appropriate value
			object expected = null; // TODO: Initialize to an appropriate value
			object actual;
			target.Name = expected;
			actual = target.Name;
			Assert.AreEqual(expected, actual);
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for PercentageOff
		///</summary>
		[TestMethod()]
		public void PercentageOffTest()
		{
			object inName = null; // TODO: Initialize to an appropriate value
			ProfileStopwatch.ProfileSegment target = new ProfileStopwatch.ProfileSegment(inName); // TODO: Initialize to an appropriate value
			double actual;
			actual = target.PercentageOff;
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for PercentageOn
		///</summary>
		[TestMethod()]
		public void PercentageOnTest()
		{
			object inName = null; // TODO: Initialize to an appropriate value
			ProfileStopwatch.ProfileSegment target = new ProfileStopwatch.ProfileSegment(inName); // TODO: Initialize to an appropriate value
			double actual;
			actual = target.PercentageOn;
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for TicksOff
		///</summary>
		[TestMethod()]
		public void TicksOffTest()
		{
			object inName = null; // TODO: Initialize to an appropriate value
			ProfileStopwatch.ProfileSegment target = new ProfileStopwatch.ProfileSegment(inName); // TODO: Initialize to an appropriate value
			long expected = 0; // TODO: Initialize to an appropriate value
			long actual;
			target.TicksOff = expected;
			actual = target.TicksOff;
			Assert.AreEqual(expected, actual);
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for TicksOn
		///</summary>
		[TestMethod()]
		public void TicksOnTest()
		{
			object inName = null; // TODO: Initialize to an appropriate value
			ProfileStopwatch.ProfileSegment target = new ProfileStopwatch.ProfileSegment(inName); // TODO: Initialize to an appropriate value
			long expected = 0; // TODO: Initialize to an appropriate value
			long actual;
			target.TicksOn = expected;
			actual = target.TicksOn;
			Assert.AreEqual(expected, actual);
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for TicksTotal
		///</summary>
		[TestMethod()]
		public void TicksTotalTest()
		{
			object inName = null; // TODO: Initialize to an appropriate value
			ProfileStopwatch.ProfileSegment target = new ProfileStopwatch.ProfileSegment(inName); // TODO: Initialize to an appropriate value
			long actual;
			actual = target.TicksTotal;
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for TimeSpanOff
		///</summary>
		[TestMethod()]
		public void TimeSpanOffTest()
		{
			object inName = null; // TODO: Initialize to an appropriate value
			ProfileStopwatch.ProfileSegment target = new ProfileStopwatch.ProfileSegment(inName); // TODO: Initialize to an appropriate value
			TimeSpan actual;
			actual = target.TimeSpanOff;
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for TimeSpanOn
		///</summary>
		[TestMethod()]
		public void TimeSpanOnTest()
		{
			object inName = null; // TODO: Initialize to an appropriate value
			ProfileStopwatch.ProfileSegment target = new ProfileStopwatch.ProfileSegment(inName); // TODO: Initialize to an appropriate value
			TimeSpan actual;
			actual = target.TimeSpanOn;
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for TimeSpanTotal
		///</summary>
		[TestMethod()]
		public void TimeSpanTotalTest()
		{
			object inName = null; // TODO: Initialize to an appropriate value
			ProfileStopwatch.ProfileSegment target = new ProfileStopwatch.ProfileSegment(inName); // TODO: Initialize to an appropriate value
			TimeSpan actual;
			actual = target.TimeSpanTotal;
			Assert.Inconclusive("Verify the correctness of this test method.");
		}
	}
}
